package LW.org.dao;

import LW.org.model.Room;
import LW.org.model.RoomUse;

import javax.swing.text.StyledEditorKit;
import java.util.Date;
import java.util.List;

public interface roomUsedao {

    public Boolean update_one(Date outime, int bookId);
    public Boolean delete_one(RoomUse delete_Id);
    public List<RoomUse> select_all();
    public List<RoomUse> select_key_ID(String IdCard,Boolean roomFlag);
    public List<RoomUse> select_key_roomID(int roomID, Boolean roomFlag);
    public Boolean insert_one_use(RoomUse newInfo,int roomId);
    public Boolean update_roomUse(RoomUse newInfo,int oldRoomid);
}
